<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录启动器示例</title>
    <script src="http://47.106.66.89:8080/js/vue.min.js"></script>
    <script src="http://47.106.66.89:8080/js/axios.min.js"></script>
    <link href="http://47.106.66.89:8080/js/ele-2.15.7/theme-chalk/index.css" rel="stylesheet">
    <script src="http://47.106.66.89:8080/js/ele-2.15.7/index.js"></script>
    <script src="js/auth.js"></script>
</head>
<body>
<div id="app">
    <login ref="a">
        <template #logined="scope">
            <img :src="scope.myinfo.head" alt="" style="width: 50px; height: 50px; border-radius: 50%;">
            <a href="#" @click.prevent="$refs.a.logout()">退出</a>
        </template>
    </login>
</div>
<script>
    var v = new Vue({
        el:"#app",
        data:{
            test:"hello"
        }
    });
</script>

</body>
</html>